﻿using Newtonsoft.Json;

namespace WordpressRestApi
{
    /// <summary>Package returned with the token.</summary>
    public class TokenInfo
    {
        /// <summary>Access token.</summary>
        [JsonProperty("access_token")]
        public string AccessToken { get; set; }
        
        /// <summary>ID of the blog related to the access token.</summary>
        [JsonProperty("blog_id")]
        public string BlogID { get; set; }

        /// <summary>URL of the blog related to the access token.</summary>
        [JsonProperty("blog_url")]
        public string BlogUrl { get; set; }
    }
}